package com.mygame.message.msg.game;

import com.mygame.message.msg.AbstractJsonGameMessage;
import com.mygame.common.msg.MessageType;
import com.mygame.message.msg.GameMessageMetadata;
import com.mygame.message.msg.game.HeartbeatMsgResponse.ResponseBody;
@GameMessageMetadata(messageId=2,messageType= MessageType.RESPONSE,serviceId=1)
public class HeartbeatMsgResponse extends AbstractJsonGameMessage<ResponseBody>{

    public static class ResponseBody{
        private long serverTime;

        public long getServerTime() {
            return serverTime;
        }

        public void setServerTime(long serverTime) {
            this.serverTime = serverTime;
        }
        
    }

    @Override
    protected Class<ResponseBody> getBodyObjClass() {
        return ResponseBody.class;
    }
}
